﻿using System;

namespace HigLabo.Net.WindowsLive
{
    /// <summary>
    /// 
    /// </summary>
    public class WindowsLiveCommand
    {
        private String _UrlParameter = "";
        private String _GraphApiPath = "";
        private String _ContentType = "";

        /// <summary>
        /// 
        /// </summary>
        public virtual HttpMethodName MethodName
        {
            get { return HttpMethodName.Get; }
        }
        /// <summary>
        /// 
        /// </summary>
        public virtual String GraphApiPath
        {
            get { return _GraphApiPath; }
            set { _GraphApiPath = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public virtual String UrlParameter
        {
            get { return _UrlParameter; }
            set { _UrlParameter = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public virtual String ContentType
        {
            get { return _ContentType; }
            protected set { _ContentType = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Byte[] Data
        {
            get { return SetData(); }
        }
        /// <summary>
        /// 
        /// </summary>
        public WindowsLiveCommand()
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="graphApiPath"></param>
        public WindowsLiveCommand(String graphApiPath)
        {
            this.GraphApiPath = graphApiPath;
        }
        /// <summary>
        /// 
        /// </summary>
        protected virtual Byte[] SetData()
        {
            return null;
        }
    }
}
